Title: Replication File for �Reanalyzing the Link between Democracy and Economic Development�
Journal: International Area Studies Review
DOI: TBA
Link: TBA
Author: Lars Pelke
Correspondence: Lars Pelke, Friedrich-Alexander-University Erlangen-N�rnberg (lars.pelke@fau.de)
Date: July 24th, 2023

Required Software: R and RStudio (4.2.3 or Above), STATA 17
Additional required software packages and libraries are specified in the replication code. All used software packages can be found in the replication archive.

Overview: These files replicate all analyses presented in �Reanalyzing the Link between Democracy and Economic Development�,International Area Studies Review.

To replicate all analyses and figures, download all data files to a folder entitled �~/data�, create a second folder entitled �~/outputs� in the same directory, and run all code files
in numerical order.


%%%%%%%%%%%%%% Replication Code %%%%%%%%%%%%%%

01_data_wrangling.R
Prepares the dataset. Can be skipped, use pre-processed "vdem_data.rds" / "vdem_data.dta" instead

02_Diff-in-Diff_Design_Step4.R
Replicates Step4-analyses presented in the main paper, including Tables and Figures. 

03_Diff-in-Diff_Design_Step5.R
Replicates Step5-analyses presented in the main paper, including Tables and Figures. 

04_Diff-in-Diff_Design_Step6.R
Replicates Step6-analyses presented in the main paper, including Tables and Figures. 

05_Figures.R
Replicates Figure 2

FE_Models_ANRR.do
Replicates Step1-analyses presented in the main paper, including Tables and Figures.

FE_Models_ANRR_1789.do
Replicates Step2-analyses presented in the main paper, including Tables and Figures.

FE_Models_ANRR_Step3_ERT_treatment.do
Replicates Step3-analyses presented in the main paper, including Tables and Figures.

FE_Models_Figure3.do
Replicates Figure 3 

FE_Models_Figure4.do
Replicates Figure 4 

FE_Models_Figure5_ERT.do
Replicates Figure 5 


%%%% Robustness Tests %%%%%

FE_Models_ANRR_robust_covariates.do
Replicates Robustness tests presented in the Supplementary Appendix B1.

FE_Models_ANRR_1789_robust_covariates.do
Replicates Robustness tests presented in the Supplementary Appendix B2.

FE_Models_ANRR_Step3_ERT_treatment_robust_covariates.do
Replicates Robustness tests presented in the Supplementary Appendix B3.

FE_Models_ANRR_growth_rates_robustness.do
Replicates Robustness tests presented in the Supplementary Appendix C1.

FE_Models_ANRR_1789_growth_rates.do
Replicates Robustness tests presented in the Supplementary Appendix C2.

FE_Models_ANRR_Step3_ERT_treatment_growth_rates.do
Replicates Robustness tests presented in the Supplementary Appendix C3.

FE_Models_ANRR_1789-1899.do
Split Sample Test (1789 - 1899) 

FE_Models_ANRR_cold_war_test.do
Split Sample Test (Cold War Split Sample)

FE_Models_ANRR_robust_covariates_natural_wealth.do
Robustness test for natural wealth

IVReg_Models_Robustness.do
Replicates Robustness tests presented in the Supplementary Appendix D.

%%%%%%%%%%%%%% Data Files (relative path "~/data") %%%%%%%%%%%%%%

Replication data: 
-ERT.csv: Episodes of Regime Transformation data (based von version V-Dem version 10)
-vdem_data.dta /vdem_data.rds: preprocessed dataset for all analyses
-vdem_data_IV_regression.dta /dem_data_IV_regression.rds: preprocessed dataset for Robustness Tests

folders:
-cow: Correlated of War data
-epr: Ethnic Power Relations data
-Fariss et al: GDP Data from Fariss et al. (2022) 
-jcr2020: Replication data from Fariss et al. (2022) 
-ucdp: Uppsala Conflict Data Programme (UCDP) data
-vdem10: Varieties of Democracy data, version 10


%%%%%%%%%%%%%% Output Files (relative path "~/outputs") %%%%%%%%%%%%%%

Store tables and figures


